<?php
defined('SYSPATH') or die('Access error!');
//后台
Route::set('admin', 'admin(/<controller>(/<action>(/<id>)))')
        ->defaults(array(
            'directory' => 'admin',
            'controller' => 'index',
            'action' => 'index',
        ));
